import Vue from "vue";
import App from "./App.vue";
import router from "./utils/routerGuard.js";
// import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "./iconfont/iconfont.css";
import "./iconfont/iconfont.js";
import "./assets/style/common.less";
import qfSubMenu from "qf-sub-menu" //引入我们的组件
import * as echarts from "echarts";


//使用Vue.use()将组件注入到所有的子组件
Vue.use(qfSubMenu)
Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.prototype.$echarts = echarts;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
